package com.guigu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.guigu.pojo.OrderDetails;
import com.guigu.pojo.SupplierProduct;
import jakarta.annotation.Resource;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 供货商商品关联表 Mapper 接口
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
@Resource
public interface SupplierProductMapper extends BaseMapper<SupplierProduct> {

    List<SupplierProduct> getSupplierProducts(@Param("map") HashMap<String, Object> map);

    List<SupplierProduct> getSupplierProductsByPage(@Param("map") HashMap<String, Object> map);
}
